switch ((location.host).split("\.")[1]) {
	case "faxuan":
		//sendMsg(document.getElementsByClassName("usertxt")[0].children[0].title,"法宣在线");
		sendMsg("faxuan","法宣在线");
		console.log((location.host).split("\.")[2])
		//document.getElementsByClassName("usertxt")[0].children[0].innerText="师叔师叔";
		//var extwin = chrome.extension.getBackgroundPage();
		//	extwin.sps.stopTiming();
		var script_stoptime = document.createElement("script");
		script_stoptime.innerHTML = 'sps.stopTiming()';
		document.head.appendChild(script_stoptime);

		document.getElementById("timer").innerText="00:12:35";

		var script_exitstudy = document.createElement("script");
		script_exitstudy.innerHTML = "sps.exitStudy('timer')";
		document.head.appendChild(script_exitstudy);
		
		document.getElementById("popwinConfirm").onclick=function() {};
	break;
	default:
		sendMsg(null);
}
function sendMsg(uname,uhost) {
	chrome.runtime.sendMessage({musicName:uname,musicHost:uhost});
}